12#ifndef ROC_AUDIO_FRAME_H_
13#define ROC_AUDIO_FRAME_H_
void set_flags(unsigned flags)
Set flags.
sample_t * data() const
Get frame data.
unsigned flags() const
Get flags.
@ FlagBlank
Set if the frame is fully filled with zeros instead of data from packets.
@ FlagDrops
Set if some late packets were dropped while the frame was being built.
@ FlagIncomplete
Set if the frame is partially filled with zeros instead of data from packets.
size_t size() const
Get frame data size.
Frame(sample_t *data, size_t size)
Construct frame from samples.
Base class for non-copyable objects.
float sample_t
Audio sample.
Various units used in audio processing.